windowhandle: Don't drag on capture phase
authorAlexander Mikhaylenko <alexm@gnome.org>
Fri, 25 Dec 2020 07:35:57 +0000 (12:35 +0500)
committerAlexander Mikhaylenko <alexm@gnome.org>
Fri, 29 Jan 2021 07:00:10 +0000 (12:00 +0500)
commit28f5d267196e0624422e06f1f18df7d9d3a2d1ab
tree674d73333822471a272e35e82eedb79a3faf88d7
parentbf2620f041c0c621e6de11e8489d59ee9f4d4dca
windowhandle: Don't drag on capture phase

This was needed to work around widgets claiming event sequences on press,
by ignoring them and starting the drag anyway unless they have certain
event controllers on them.

The most visible offender was GtkButton, but since the last commit it
doesn't claim the sequence anymore and we can remove the hack.
gtk/gtkwidget.c
gtk/gtkwidgetprivate.h
gtk/gtkwindowhandle.c